package com.ving.test.mybatis.session;

import java.io.IOException;

/**
 * Created by liuweijie on 2019-11-14.
 */
public class SqlSessionFactoryBuilder {

    public SqlSessionFactory build(Configuration configuration) throws IOException {
        configuration.loadConfigurations(); //读配置

        return new SqlSessionFactory();
    }
}
